package com.wzdigit.wms.basic.client.response.inv;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**

    物料拆分响应类
    * @author shuaic
    * @date 2021/8/10 9:44
*/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = false)
public class GoodsSplitInfoResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 条码ID
     */
    @ApiModelProperty(value = "条码ID")
    private Integer goodsId;
    
    /**
     * 条码SN
     */
    @ApiModelProperty(value = "条码SN")
    private String goodsSn;
    
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private BigDecimal qty;
    
    /**
     * SN类别
     */
    @ApiModelProperty(value = "SN类别")
    private Integer snType;
    
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer status;
    
    /**
     * 品质状态
     */
    @ApiModelProperty(value = "品质状态")
    private Integer qaStatus;
    
    /**
     * 是否冻结
     */
    @ApiModelProperty(value = "是否冻结")
    private Integer isHold;
    
  //----------------------------------------------//

    /**
     * 供应商ID
     */
    @ApiModelProperty(value = "供应商ID")
    private Integer vendorId;
    
    /**
     * 组织
     */
    @ApiModelProperty(value = "组织")
    private String factory;
    
    /**
     * 库存性质
     */
    @ApiModelProperty(value = "库存性质")
    private String invAttr;
    
    /**
     * 批次号
     */
    @ApiModelProperty(value = "批次号")
    private String lotno;
    
    /**
     * datecode
     */
    @ApiModelProperty(value = "datecode")
    private String datecode;
    
    /**
     * 是否原包装
     */
    @ApiModelProperty(value = "是否原包装")
    private Integer isOriginalPackage;
    
    /**
     * 货主
     */
    @ApiModelProperty(value = "货主")
    private Integer owner;
    
    
    //----------------------------------------------//

    /**
     * 物料ID
     */
    @ApiModelProperty(value = "物料ID")
    private Integer skuId;
    
    /**
     * 物料编码
     */
    @ApiModelProperty(value = "物料编码")
    private String skuCode;
    
    /**
     * 物料描述
     */
    @ApiModelProperty(value = "物料描述")
    private String descCn;
    
    /**
     * 仓库ID
     */
    @ApiModelProperty(value = "仓库ID")
    private Integer whsId;
    
    /**
     * 仓库名称
     */
    @ApiModelProperty(value = "仓库名称")
    private String whsName;
    
    /**
     * 条码数据版本
     */
    @JsonIgnore
    private Integer version;
    
}
